
import { Modal } from '@arco-design/web-react';

/**
 * 必填项提示
 * @param value 
 * @param title 
 * @param content 
 * @returns 
 */
export default function Requiredtip(value: string, content: string, title = '提示') {
	if (!value) {
		Modal.error({
			title,
			okText: '确认',
			content: `${content}！`
		});
		// Notification.error({
		// 	title,
		// 	content
		// });
		return false;
	}
	return true;
}
